package org.ysu.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author breeze
 * @date 2024/8/28 15:36
 */
public interface AnalyseMapper {
    Map<String, Long> getRiskTypeCounts(Integer provinceCode);
    //Map<Integer, Integer> getPoorProvinceDistribution(@Param("provinceCode") Integer provinceCode);

    List<Map<Integer, Integer>> getPoorTotalProvinceDistribution(@Param("provinceCode") Integer provinceCode);

    List<Map<Integer, Integer>> getPoorTotalCityDistribution(@Param("provinceCode") Integer provinceCode);

    List<Map<Integer, Integer>> getPoorTotalAreaDistribution(@Param("provinceCode") Integer provinceCode);

    List<Map<Integer, Integer>> getPoorRiskProvinceDistribution(@Param("provinceCode") Integer provinceCode);

    List<Map<Integer, Integer>> getPoorRiskCityDistribution(@Param("provinceCode") Integer provinceCode);

    List<Map<Integer, Integer>> getPoorRiskAreaDistribution(@Param("provinceCode") Integer provinceCode);

    List<Map<Integer, Integer>> getPoorClueProvinceDistribution(@Param("provinceCode") Integer provinceCode);

    List<Map<Integer, Integer>> getPoorClueCityDistribution(@Param("provinceCode") Integer provinceCode);

    List<Map<Integer, Integer>> getPoorClueAreaDistribution(@Param("provinceCode") Integer provinceCode);
}
